﻿#ifndef WEBLINKBUTTON_H
#define WEBLINKBUTTON_H

#include <QPushButton>
#include <QUrl>

class WebLinkButton : public QPushButton {
    Q_OBJECT
public:
    WebLinkButton(QWidget *parent = nullptr);
    void setUrl(const QUrl &url);

private slots:
    void openUrl();

private:
    QUrl m_url;
};

#endif // WEBLINKBUTTON_H
